package com.yt.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 登录信息DTO
 *
 * @author lizicong
 * @Date 2025-10-25 00:30:39
 */
@Data
@TableName("sys_user_role")
@ApiModel(value="登录信息对象", description="登录信息对象")
public class SysUserRoleDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁版本号 ")
    private Integer revision;
    @ApiModelProperty(value = "用户 ID（外键：sys_user.id）")
    private long userId;
    @ApiModelProperty(value = "角色 ID（外键：sys_role.id）")
    private long roleId;
}